package com.im.action;

public class UtilModelAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5870011036500181501L;
	
	public UtilModelAction() {
		super();
	}
	
	public String column() {
		try {
			if(column_name == null || column_name.isEmpty()) {
				return "error";
			} else {
				column = colHandler.getColumnByName(column_name);
				return column.getModel_name();
			}
		} catch(Exception e) {
			log.error(e);
			return "error";
		}
	}
	
}
